package main

import "fmt"

func main()  {
	var num1 string
	fmt.Println("please input a number:")
	fmt.Scan(&num1)
	if num1[:2] == "0b" || num1[:2] == "0o" || num1[:2] == "0x"{
		num1 = num1[2:]
	}
	for i := 0; i < len(num1); i++{
		if (num1[i] >= 'a')  && (num1[i] <= 'z'){
			fmt.Println("不是整数")
			break
		}
		if i == len(num1) - 1 {
			fmt.Println("是整数")
		}
	}
}
